From 153c66d80275ca7d2d617c26743b61083ecfa936 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Wed, 17 Apr 2013 13:52:33 +0100 Subject: [PATCH] arm64: correct secondary CPU bringup The current cpuid is held in x22 not x12. Signed-off-by: Ian Campbell Acked-by: Stefano Stabellini --- xen/arch/arm/arm64/head.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S index bbde419d5e..c18ef2b4d4 100644 --- a/xen/arch/arm/arm64/head.S +++ b/xen/arch/arm/arm64/head.S @@ -307,7 +307,7 @@ paging: dsb sy ldr x0, =smp_up_cpu ldr x1, [x0] /* Which CPU is being booted? */ - cmp x1, x12 /* Is it us? */ + cmp x1, x22 /* Is it us? */ b.ne 1b launch: -- 2.30.2